package com.jie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: 张玉捷
 * @Date: 2021/5/4 12:31
 */
@SpringBootApplication  //代表是springboot应用
@EnableDiscoveryClient  //代表是服务注册客户端注解，除eureka外通用
public class ConsulClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsulClientApplication.class,args);
    }
}
